home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Changing Color Lookup Table in ODF
- Sent: 5/27/96 1:18 PM
- Received: 5/28/96 8:41 AM
- From: Dave Shaver, Dave_Shaver@astrobyte.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 10:30 PM 5/24/96, Serge Froment wrote:
- >This is a major problem. I want my colors to show up even when I am
- >embedded!
- >
- >Serge
-
- Then you have two choices:
-
- 1) Don't use colors which are going to map to the same index.
- 2) Approximate the colors with dithering or a pattern.
-
- If you are copying pixmaps, you're probably limited to using ditherCopy
- mode (which doesn't appear at first glance to be supported in ODF, probably
- because Windows doesn't support it), which will approximate the colors by
- alternating pixel values. If you are drawing these items with primitives,
- you just avoid using two RGB values which map to the same index in the
- current palette (either that, or use MakeRGBPat() to give you a pattern
- which does a better job of approximating the color, but looks crappy when
- drawing fine detail).
-
- - DS
-
-